﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace WaterRevenueMS.Domain.ViewModels.Settlement
{
    public class SettlementModel
    {
        public SettlementModel()
        {
            Search = new SearchModel();
        }

        public int Id { get; set; }
        public string Hu_ZXM { get; set; }
        public string Yong_HBH { get; set; }
        public string Yi_BBH { get; set; }
        public string Yi_BDZ { get; set; }
        //本期读数
        public float Du_SBQ { get; set; }
        public DateTime? Chao_BDTBC { get; set; }
        //本次读数
        public float Du_SBC { get; set; }
        //计费本次
        public float Ji_FBC { get; set; }
        //是否结算
        public byte Shi_FJS { get; set; }
        //结算日期
        public DateTime? Jie_SDT { get; set; }

        //本次用量
        public float Yong_LBC { get; set; }

        public SearchModel Search { get; set; }
    }

    public class SearchModel
    {
        public SearchModel()
        {
            MeterBookItems = new List<SelectListItem>
            {
                new SelectListItem{Text="请选择表册",Value="0"}
            };
        }
        public int? Biao_CSZ_No { get; set; }
        public List<SelectListItem> MeterBookItems { get; set; }
        public string Hu_ZXM { get; set; }
        public string Yong_HBH { get; set; }
        public string Yi_BBH { get; set; }
    }
}
